﻿
using System;
namespace VegetableSale.NET.Entities;

public class Rtsale
{
    private uint id;
    private int commid;
    private int rtsnumber;
    private int rtsmoney;
    private string rtsmark;
    private DateTime rtstime;

    public Rtsale()
    {

    }

    public Rtsale(uint id, int commid, int rtsnumber, int rtsmoney, string rtsmark, DateTime rtstime)
    {
        this.Id = id;
        this.Commid = commid;
        this.Rtsnumber = rtsnumber;
        this.Rtsmoney = rtsmoney;
        this.Rtsmark = rtsmark;
        this.Rtstime = rtstime;
    }

    public uint Id { get => id; set => id = value; }
    public int Commid { get => commid; set => commid = value; }
    public int Rtsnumber { get => rtsnumber; set => rtsnumber = value; }
    public int Rtsmoney { get => rtsmoney; set => rtsmoney = value; }
    public string Rtsmark { get => rtsmark; set => rtsmark = value; }
    public DateTime Rtstime { get => rtstime; set => rtstime = value; }
}

